package com.ph.irp.base.assistantmaterial.service;
import java.util.List;
import com.ph.irp.model.PBaseAssistantmaterialDuty;
/**
 * 辅助资料-职务分类基本信息
 * 依次为增，删，改，查（精确），动态查询，判断是否有重复方法
 */
public interface PBaseAssistantmaterialDutyService {
	public void addPBaseAssistantmaterialDuty(PBaseAssistantmaterialDuty duty)throws Throwable;
	
	public void deletePBaseAssistantmaterialDuty(int dutyId)throws Throwable;
	
	public void updatePBaseAssistantmaterialDuty(PBaseAssistantmaterialDuty duty)throws Throwable;
	
	public PBaseAssistantmaterialDuty getDutyById(int dutyId)throws Throwable;
	
	public List<PBaseAssistantmaterialDuty> getDutyByCode(String code)throws Throwable;
	
	public List<PBaseAssistantmaterialDuty> getDutyByName(String name)throws Throwable;
	
	public List<PBaseAssistantmaterialDuty> getDutyByCodeAndName(String code,String name)throws Throwable;
	
	public List<PBaseAssistantmaterialDuty> getDutyList()throws Throwable;

}
